#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
import time
from threading import Thread

class Mythread(Thread):
    def run(self):
        print("hello: {}".format(self.name))
        time.sleep(2)
        print("end: {}".format(self.name))

if __name__ == '__main__':
    t = Mythread()
    t.start()

    print("master")